export default function useRouteQuery() {
    const params = new URLSearchParams(window.location.search)
    const query = Object.fromEntries(params.entries())
    return {
        ...query
    }
}
